Platform Explorer / Nuxeo Platform 2023.20

Component org.nuxeo.ecm.multi.tenant.listeners

Resolution Order

243
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.multi.tenant.listeners">

  <extension target="org.nuxeo.ecm.core.event.EventServiceComponent"
    point="listener">

    <listener name="multiTenantListener" async="false"
      postCommit="false"
      class="org.nuxeo.ecm.multi.tenant.MultiTenantListener"
      priority="150">
      <event>documentCreated</event>
      <event>documentCreatedByCopy</event>
      <event>documentRemoved</event>
      <event>lifecycle_transition_event</event>
      <event>documentTrashed</event>
      <event>documentUntrashed</event>
    </listener>

    <listener name="tenantAdministratorsListener" async="false"
      postCommit="false"
      class="org.nuxeo.ecm.multi.tenant.TenantAdministratorsListener"
      priority="100">
      <event>beforeDocumentModification</event>
    </listener>

    <listener name="multiTenantACLListener" async="false"
      postCommit="false"
      class="org.nuxeo.ecm.multi.tenant.acl.ACLUpdateListener"
      priority="150">
      <event>beforeDocumentSecurityModification</event>
    </listener>

  </extension>

</component>